package name.bingo.bing.concurrent.red.packet.service;

import name.bingo.bing.concurrent.red.packet.model.TRedPacket;
import name.bingo.common.model.Response;

/**
 * 鍐欐湇鍔℃帴鍙�
 *
 * @author [ your email ]
 * @date 2019-03-22 11:09:52
 * Created by CodeGen .
 */
public interface TRedPacketWriteService {

    /**
     * 鍒涘缓
     *
     * @param tRedPacket
     * @return Boolean
     */
    Response<Long> create(TRedPacket tRedPacket);

    /**
     * 鏇存柊
     *
     * @param tRedPacket
     * @return Boolean
     */
    Response<Boolean> update(TRedPacket tRedPacket);

}
